﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using Team4Mock.Entity;

namespace Team4Mock.UserControl.BusinessType
{
    public partial class ListBusiness : System.Web.UI.UserControl
    {
        BusinessEntity be=new BusinessEntity();
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                
                gvBus.DataSource = be.Getdata();
                gvBus.DataBind();
            }
        }
    }
}